package com.cdtu.outtake.dto;

import com.cdtu.outtake.domain.CartItem;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author : shl
 * @Date 2024/4/11 13:03
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class OrderDto {
    private Long orderId;
    private Long shopId;
    private String shopName;
    private String status;
    private String shopPicture;
    private String createTime;
    private Double totalCost;
    private Boolean comment;
    //TODO 添加两个属性
    private String type;
    private List<CartItem> items;
}
